import constants from '@/utils/constants'
const message = {
    [constants.SERVER_SUCCESS]: '服务器成功返回请求的数据',
    [constants.SERVER_BAD_REQUEST]: 'Bad Request',
    [constants.SERVER_UNAUTHORIZED]: 'Unauthorized',
    [constants.SERVER_FORBIDDEN]: 'Forbidden',
    [constants.SERVER_NOT_FOUND]: 'Not Found',
    [constants.SERVER_ERROR]: '服务器发生错误，请检查服务器(Internal Server Error)',
    [constants.SERVER_BAD_GATEWAY]: '网关错误(Bad Gateway)',
    [constants.SERVER_UNAVAILABLE]: '服务不可用，服务器暂时过载或维护(Service Unavailable)',
    [constants.SERVER_GATEWAY_TIMEOUT]: '网关超时(Gateway Timeout)',
    [constants.CLIENT_REQUEST_TIMEOUT]: '网络超时',
}
export default message